package cn.zzm.mybatisplus.controller;

import cn.zzm.mybatisplus.dto.ExamRpt;
import cn.zzm.mybatisplus.service.impl.ExamRptServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * TODO().
 *
 * <p>TODO().
 *
 * <p>版权所有:Copyright (c) 2019<br/>
 * <a href="http://www.wiseimage.cn/">广州易联众睿图信息技术有限公司</a>.
 *
 * @author 周昭名
 * @version V1.0
 * @since 2019/6/10 18:51
 */
@RestController
@Slf4j
@RequestMapping("/examRpt")
public class ExamRptController {
    @Autowired
    ExamRptServiceImpl examRptService;

    @RequestMapping("list")
    public List<ExamRpt> getList(){
        return examRptService.getList(null);
    }

    @RequestMapping("list0")
    public ExamRpt getList0(){
        return examRptService.getList(null).get(0);
    }



}
